export function getVerCode(params){
	return uni.$u.http.get('/agt/agentinfo/sendSms', params)
}

export function verify(params){
	return uni.$u.http.post('/agt/agentinfoPaymentWord/checkSelfIdentity', params)
}

export function getPasswordStatus(params){
	return uni.$u.http.get('/agt/agentinfoPaymentWord/checkSetPaymentpassword', {params, custom: {ShowLoading: false, noErrorTip: true}})
}

export function checkOriginalPassword(oldPaymentpassword){
	return uni.$u.http.get(`/agt/agentinfoPaymentWord/checkOldPaymentword/${oldPaymentpassword}`, params)
}

export function setPassword(params){
	return uni.$u.http.post('/agt/agentinfoPaymentWord/setPaymentPassword', params)
}
